package com.learnyou.server.xingzuo.dto.paramDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@Builder
public class TeacherParamDTO {
    @NotEmpty(message = "教师姓名不能为空")
    @ApiModelProperty(value = "教师姓名")
    private String teacherName;

    @NotEmpty(message = "教师电话不能为空")
    @ApiModelProperty(value = "教师电话")
    private String teacherPhone;
}
